package com.me.modules.problem.service;

import com.me.modules.problem.entity.ProblemInfoEntity;
import com.me.modules.common.page.Page;

import java.util.List;
import java.util.Map;

/**
 * 问题工单信息表
 *
 * @author me
 * @email me@163.com
 * @date 2018-12-26 15:11:12
 */
public interface ProblemInfoService {

	ProblemInfoEntity queryObject(String id);

	List<ProblemInfoEntity> queryList(Map<String, Object> map);

    List<ProblemInfoEntity> queryListByBean(ProblemInfoEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(ProblemInfoEntity problemInfo);

	int update(ProblemInfoEntity problemInfo);

	int delete(String id);

	int deleteBatch(String[] ids);

	Page<ProblemInfoEntity> findPage(ProblemInfoEntity problemInfoEntity, int pageNum);
}
